import request from '@/utils/request1'
export function getList(query) {
  return request({
    url: 'admin/sale_order/list',
    method: 'post',
    data: query
  })
}
//cancel  取消订单（汪攀）

export function cancel(query) {
  return request({
    url: 'admin/sale_order/cancel',
    method: 'post',
    data: query
  })
}
//发卡
export function give_out(query) {
  return request({
    url: 'admin/sale_order/give_out',
    method: 'post',
    data: query
  })
}
//退卡
export function refund(query) {
  return request({
    url: 'admin/sale_order/refund',
    method: 'post',
    data: query
  })
}